package com.big.tree.controller;

//import com.big.tree.feign.api.UserFeignApi;
import com.big.tree.feign.UserFeignService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/***********************************************************************
 * 版权所有(C) 纯米科技(上海)股份有限公司 2014-2023
 * Copyright 2014-2023 CHUNMI TECHNOLOGY CO..
 * <p/>
 * This software is the confidential and proprietary information of
 * CHUNMI Corporation ("Confidential Information").  You
 * shall not disclose such Confidential Information and shall use
 * it only in accordance with the terms of the license agreement
 * you entered into with CHUNMI.
 ***********************************************************************/
@RestController
public class OrderController {

    //@Autowired
    //private UserFeignApi userFeignApi;

    @Autowired
    private UserFeignService userFeignService;

    @GetMapping("test1")
    public String test1(){
        //return userFeignApi.getOne();
        return userFeignService.getOne();
    }
}
